﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HomeWork911.infrastrunceture
{
    /// <summary>
    /// Api封装
    /// </summary>
    public interface IBaseIRepository<T>
    {
        Task<int>Add(T entity);
        Task<int>Update(T entity);
        IQueryable<T> GetAll();
    }
}
